package com.sc.passbook.dao;

import com.sc.passbook.entity.Merchants;
import org.springframework.data.repository.CrudRepository;

import java.util.List;

/**
 * @author sc
 * Created on  2018/9/1
 */
public interface MerchantsDao extends CrudRepository<Merchants,Integer> {
    Merchants findByName(String name);
    List<Merchants> findByIdIn(List<Integer> ids);
}
